package com.njit.farm.dao;

import com.njit.farm.dataobject.FOrderItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FOrderItemMapper {
    int deleteByPrimaryKey(String oiId);

    int insert(FOrderItem record);

    FOrderItem selectByPrimaryKey(String oiId);

    List<FOrderItem> selectByOrderId(String oId);

    List<FOrderItem> selectAll();

    int updateByPrimaryKey(FOrderItem record);
}